package com.chinacoal.microservice.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.chinacoal.microservice.pojo.DataCenter;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 数据中心-mybatis-plus接口类
 * @date 2020-12-28 18：57
 */
public interface DataCenterMapper extends BaseMapper<DataCenter> {

    /**
     * @Description: 查询费用概况
     * @author zhuliang
     * @date 2020/12/29 9:47
     */
    DataCenter getCost();

    /**
     * @Description: 查询实际概况
     * @author zhuliang
     * @date 2020/12/29 9:47
     */
    DataCenter getData();

    /**
     * @Description: 查询房间出租，自用，预定，空置数
     * @author zhuliang
     * @date 2020/12/29 10:06
     */
    DataCenter getRoomOccupancyRate();

    /**
     * @Description: 查询房间面积数据
     * @author zhuliang
     * @date 2021/1/8 10:01
     */
    DataCenter getAreaData();
}
